<cfcomponent name="MockCollection" extends="com.revenea.root.Collection"  hint="I am a Mock object that can be used to replace the Collection CFC when testing other components.">
	
	<cffunction name="init" returnType="revenea.root.Collection" access="public" output="false" hint="Initializes the object, thereby returning an instantiation of it populated with it&iuml;&iquest;&frac12;s default properties.&nbsp; While subclasses will inherit this method, they will use their own setDefaults method to populate their subclass properties.">
		<cfreturn this />
	</cffunction>
	
	<cffunction name="clearRecordSet" returnType="boolean" access="public" output="false" hint="Sets the objectSet property to a zero count array.">
		<cfthrow type="MockCollection.unimplementedMethod" message="Method clearRecordSet() in component Collection not implemented yet." />
	</cffunction>
	
	<cffunction name="clearObjectSet" returnType="boolean" access="public" output="false" hint="Sets the objectSet property to a zero count array.">
		<cfthrow type="MockCollection.unimplementedMethod" message="Method clearObjectSet() in component Collection not implemented yet." />
	</cffunction>
	
	<cffunction name="recordSetToWddx" returnType="string" access="public" output="false" hint="Returns XML string of WDDX serialized record set via the recordSet property.">
		<cfthrow type="MockCollection.unimplementedMethod" message="Method recordSetToWddx() in component Collection not implemented yet." />
	</cffunction>
	
	<cffunction name="objectSetToWddx" returnType="string" access="public" output="false" hint="Returns XML string of WDDX serialized array of objects via the object set property.&nbsp; These wddx methods are useful when handling collections via AJAX.">
		<cfthrow type="MockCollection.unimplementedMethod" message="Method objectSetToWddx() in component Collection not implemented yet." />
	</cffunction>
	
	<cffunction name="getByIdList" returnType="void" access="public" output="false" hint="Loads up the collection by matching all the ID values in the list provided.">
		<cfargument name="sIdList" type="string" required="true" hint="This is required to be a comma-delimited list string." />
		<cfthrow type="MockCollection.unimplementedMethod" message="Method getByIdList() in component Collection not implemented yet." />
	</cffunction>
	
</cfcomponent>